﻿`SESSIONID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `PRODUCTID` int(10) unsigned NOT NULL DEFAULT '0',
  `SESSIONTYPE` int(10) unsigned NOT NULL DEFAULT '0',
  `STEPPRICE` int(10) unsigned NOT NULL DEFAULT '0',
  `STEPTIME` int(10) unsigned NOT NULL DEFAULT '0',
  `STARTTIME` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `ENDTIME` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `WINUSER` int(10) unsigned NOT NULL DEFAULT '0',
  `WINBID` int(10) unsigned NOT NULL DEFAULT '0',
  `CREATEDDATE` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `UPDATEDDATE` datetime NOT NULL DEFAULT '0000-00-00 00:00:00'
using System;
using System.ComponentModel;
using System.Diagnostics;
using MVC.Models.Enums;

namespace MVC.Models
{
    public class Product
    {
        public int SessionId { get; set; }
        public int ProductId { get; set; }
        public int SessionType { get; set; }
        public int StepPrice { get; set; }
        public int StepTime { get; set; }
        public int StartTime { get; set; }
        public int EndTime { get; set; }
        public int WinUser { get; set; }
        public int WinBid { get; set; }
        public int CreatedDate { get; set; }
        public int UpdatedDate { get; set; }
        
        public virtual Product Product { get; set; }             
  }
}